# This file is part of pyDC software
# Copyright 2002 Anakim Border <aborder@users.sourceforge.net>
#
# pyDC is released under the terms of GPL licence.

import struct
#from codec import *

class He3Encoder:
	def encode(self, data):
		#e = Encoder()
		#e.encode(data)
		#return e.encoded()
		return data

class He3Decoder:
	def decode(self, path):
		f = open(path, 'rb')

		#d = Decoder()
		#if not d.decode(f.read()): raise He3FormatError
		x=f.read()
		f.close()
		#return d.decoded()
		return x

class He3FormatError(Exception): pass
